<template>
	<div>
		<div class="nav-bar">
			<span
			@click="$router.push(`/home/gerenzhongxin/${$route.params.id}/dizi/shouhuo`)"
			>收货地址</span>
			<span @click="$router.push(`/home/gerenzhongxin/${$route.params.id}/dizi/xinzhedizhi`)">
				<i class="el-icon-location-outline"></i>
				修改收货地址</span>
		</div>
		<div><router-view /></div>
	</div>
</template>

<script>
	export default {

	}
</script>

<style lang="scss" scoped>
	.nav-bar {
		width: 100%;
		height: 30px;
		background-color: #D3D3D3;
		display: flex;
		justify-content: space-between;

		>span {
			line-height: 30px;

			&:first-child {
				margin-left: 20px;
			}

			&:last-child {
				margin-right: 20px;
			}
		}


	}
</style>
